package com.soxing.braindata.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 指标统计结果表
 * </p>
 *
 * @author durango
 * @since 2022-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StatItemResult对象", description="指标统计结果表")
public class StatItemResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "统计项名")
    private String itemName;

    @ApiModelProperty(value = "统计项编码,可理解为类型唯一识别码,与名称一对一映射")
    private String itemCode;

    @ApiModelProperty(value = "课题编码")
    private String subjectPkId;

    @ApiModelProperty(value = "中心编码")
    private String sitePkId;

    @ApiModelProperty(value = "统计周期 0:全部  1:日 2:周 3:月 4:年")
    private Integer statPeriod;

    @ApiModelProperty(value = "统计开始时间 stat_period非0时必填")
    private Date statBeginTime;

    @ApiModelProperty(value = "统计结束时间 stat_period非0时必填")
    private Date statEndTime;

    @ApiModelProperty(value = "统计结果")
    private BigDecimal statResult;

    @ApiModelProperty(value = "部分统计的json数据")
    private String statJson;

    @ApiModelProperty(value = "统计时间")
    private Date createTime;


}
